/*
 * @Author: Kilims Ye
 * @LastEditors: Kilims Ye
 * @Date: 2020-04-14 10:46:48
 * @LastEditTime: 2021-03-31 09:44:06
 * @Description:
 */
const { createProxyMiddleware } = require("http-proxy-middleware");

const settings = function (app) {
  app.use(
    createProxyMiddleware("/react-mobile-seeds/DEV", {
      target: 'https://apptest.tcl.com/creditapp/',
      changeOrigin: true,
      pathRewrite: {
        "^/react-mobile-seeds/DEV": "/",
      },
    })

  );
};

module.exports = settings;
